package com.rp.configure.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rp.configure.entity.Subject;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author vicente
 *
 * @since 2021-07-16
 */
public interface SubjectService extends IService<Subject> {

    IPage<Subject> listByUserId(Page<Subject> subjectPage, String id);

    List<Subject> getList(String userId);
}
